package com.example.designpattern.creational.factory.factory_method;

import com.example.designpattern.creational.factory.common.product.fruit.Fruit;
import com.example.designpattern.creational.factory.common.product.fruit.Pear;

public class PearFactory {
    public Fruit create() {
        return new Pear();
    }
}